﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ManufacturerList.ascx.cs" Inherits="smartphone.UserControls.ManufacturerList" %>
<%@ Import Namespace="smartphone.App_Code" %>
<asp:DataList ID="dListManufacturer" runat="server" Width="200px" CssClass="contentTemplate">
    <HeaderStyle CssClass="headerTemplate" />
    <HeaderTemplate>
        Hãng sản xuất
    </HeaderTemplate>
    <ItemStyle CssClass="itemTemplate" />
    <ItemTemplate>
        <asp:HyperLink ID="HyperLink1" runat="server" 
            NavigateUrl='<%# LinkClass.ToManufacturer(Eval("maHang").ToString()) %>'
            Text='<%# HttpUtility.HtmlEncode(Eval("tenHang").ToString()) %>' BorderStyle="None">
            [HyperLink1]
        </asp:HyperLink>
    </ItemTemplate>
</asp:DataList>